package service;

import dao.HomeDao;

import java.util.List;
import java.util.Map;

public class HomeService {
    private HomeDao homeDao = new HomeDao();

    /**
     * 查询今日数据
     * @return
     */
    public Map<String, Object> findHomeCount() {
             return homeDao.findHomeCount();
    }

    /**
     * 查询近七日首页数据
     * @return
     */
    public List<List<Integer>> findHomeDetail() {
        return homeDao.findHomeDetail();
    }
}
